<html>
<head>
   <link type="text/css" rel="stylesheet" href="/stylesheets/afmain.css" />
 </head>
   <body>
	{% include "nav.html" %}
      <div align="center">
       {% ifequal keyCount 0  %}
               <h3> *** Unable to find data to analyze  {{ ticker }} ***</h3>
        {% else %}
              <h3> The result for {{ tickerName }}  is and keyCount is {{ keyCount }}</h3>
              {% include "disclaimer.html" %}
              
                                
                <table id="box-table-a" summary="Summary">
                <thead>
                    <tr>
                        <th scope="col">Name</th>

                        <th scope="col">Actual Value</th>
                        <th scope="col">Comments</th>
                    </tr>
                </thead>
             
                <tbody>
 		    {%  for transaction in transactionResults  %}

                    <tr>
                        <td>PAN</td>
                        <td>{{ transaction.pan }}</td>
                        <td> Actual should be below the Optimal value</td>
                    </tr>
                    <tr>
                        <td>amount</td>
                        <td>{{ transaction.amount }}</td>
                        <td> Actual should be below the Optimal value</td>
                    </tr>
                    <tr>
                        <td>Confirmed Fraud</td>
                        <td>{{ transaction.fraudFlag}}</td>
                        <td> Debt is low if actual is  less than Optimal</td>
                    </tr>
                    <tr>
                        <td>MCC</td>
                        <td>{{ transaction.mcc }}</td>
                        <td> Quarterly Revenue Growth should be higher than the Optimal</td>
                    </tr>
                    <tr>
                        <td>CurrencyCode</td>
                        <td>{{ transaction.currencyCode }}</td>
                        <td> Is Yield High? If optimal yield is configured to 0, then ignores the yield</td>
                    </tr>
                    <tr>
                        <td>Number of CB</td>
                        <td>{{ beta }}</td>
                        <td>Indicates how volatile a stock is</td>
                    </tr>
                      <tr>
                        <td>Writeoffs</td>
                        <td>{{ fiftyDayMovAvg }}</td>
                        <td>50 Day Moving Average </td>
                    </tr>
                      <tr>
                        <td>Analysis by State</td>
                        <td>{{ twoHundredDayMovAvg }}</td>
                        <td>200 Day Moving Average</td>
                    </tr>

                {% endfor %}
                </tbody>
                </table>      
    {% endifequal %}
    
</div>

</body> 
 </html>
